package com.epichust.bootuqc.model.entity;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * Description:检测单创建的检测项
 *
 * @author:伦伦的电脑
 * @date: 2021/3/12 10:53
 */
public class Uqcm5ChkBillCitemCrt {
    private static final long serialVersionUID = -1L;
    private Integer id;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    /**
     * 检测单创建GID.
     */
    private Integer uqcmChkBillCreate;

    /**
     * 检测模板检测项gid.
     */
    private Integer chkTemplateCitemId;

    /**
     * 检测模板检测项对象
     */
    private Integer uqcmChkTemplateCitem;
    /**
     * 检测项gid.
     */
    private Integer citemId;

    /**
     * 检测项对象
     */
    private Integer uqcmBdCitem;
    /**
     * 检测项编码.
     */
    private String citemCode;

    /**
     * 检测项名称.
     */
    private String citemName;

    /**
     * 检测项说明.
     */
    private String citemRemark;

    /**
     * 检测项类别主键.
     */
    private Integer checkCataId;

    /**
     * 检测项类别对象
     */
    private Integer uqcmBdChkCategory;
    /**
     * 检测项类型(0定性1定量).
     */
    private Integer checkMode;

    /**
     * 控件类型(0手动输入1多选2单选).
     */
    private Integer controlType;

    /**
     * 标准值.
     */
    private BigDecimal standardValue;

    /**
     * 控制下限.
     */
    private BigDecimal minValue;

    /**
     * 控制上限.
     */
    private BigDecimal maxValue;

    /**
     * 备用字段6.
     */
    private String uda6;

    /**
     * 预留字段7.
     */
    private String uda7;

    /**
     * 预留字段8.
     */
    private String uda8;

    /**
     * 预留字段9.
     */
    private String uda9;

    /**
     * 预留字段10.
     */
    private String uda10;

    /**
     * 备注.
     */
    private String remark;

    /**
     * 规格上限.
     */
    private BigDecimal specMax;
    /**
     * 规格下限.
     */
    private BigDecimal specMin;

    /**
     * 检测样本批量.
     */
    private BigDecimal sampleBatch;

    /**
     * 输入框检测项值.
     */
    private String chkValue;

    /**
     * 检测结果(0未判定、1不合格、5放行、7合格).
     */
    private Integer chkResult = 0;

    /**
     * 质检标记（ 1批次检、2序列检）
     */
    private Integer chkFlag;

    /**
     * 补充说明.
     */
    private String ps;

    /**
     * 责任代码主键.
     */
    private Integer dutyId;

    /**
     * 责任代码对象
     */
    private Integer bdDuty;

    /**
     * 责任代码编码.
     */
    private String dutyCode;

    /**
     * 责任代码名称.
     */
    private String dutyName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUqcmChkBillCreate() {
        return uqcmChkBillCreate;
    }

    public void setUqcmChkBillCreate(Integer uqcmChkBillCreate) {
        this.uqcmChkBillCreate = uqcmChkBillCreate;
    }

    public Integer getChkTemplateCitemId() {
        return chkTemplateCitemId;
    }

    public void setChkTemplateCitemId(Integer chkTemplateCitemId) {
        this.chkTemplateCitemId = chkTemplateCitemId;
    }

    public Integer getUqcmChkTemplateCitem() {
        return uqcmChkTemplateCitem;
    }

    public void setUqcmChkTemplateCitem(Integer uqcmChkTemplateCitem) {
        this.uqcmChkTemplateCitem = uqcmChkTemplateCitem;
    }

    public Integer getCitemId() {
        return citemId;
    }

    public void setCitemId(Integer citemId) {
        this.citemId = citemId;
    }

    public Integer getUqcmBdCitem() {
        return uqcmBdCitem;
    }

    public void setUqcmBdCitem(Integer uqcmBdCitem) {
        this.uqcmBdCitem = uqcmBdCitem;
    }

    public String getCitemCode() {
        return citemCode;
    }

    public void setCitemCode(String citemCode) {
        this.citemCode = citemCode;
    }

    public String getCitemName() {
        return citemName;
    }

    public void setCitemName(String citemName) {
        this.citemName = citemName;
    }

    public String getCitemRemark() {
        return citemRemark;
    }

    public void setCitemRemark(String citemRemark) {
        this.citemRemark = citemRemark;
    }

    public Integer getCheckCataId() {
        return checkCataId;
    }

    public void setCheckCataId(Integer checkCataId) {
        this.checkCataId = checkCataId;
    }

    public Integer getUqcmBdChkCategory() {
        return uqcmBdChkCategory;
    }

    public void setUqcmBdChkCategory(Integer uqcmBdChkCategory) {
        this.uqcmBdChkCategory = uqcmBdChkCategory;
    }

    public Integer getCheckMode() {
        return checkMode;
    }

    public void setCheckMode(Integer checkMode) {
        this.checkMode = checkMode;
    }

    public Integer getControlType() {
        return controlType;
    }

    public void setControlType(Integer controlType) {
        this.controlType = controlType;
    }

    public BigDecimal getStandardValue() {
        return standardValue;
    }

    public void setStandardValue(BigDecimal standardValue) {
        this.standardValue = standardValue;
    }

    public BigDecimal getMinValue() {
        return minValue;
    }

    public void setMinValue(BigDecimal minValue) {
        this.minValue = minValue;
    }

    public BigDecimal getMaxValue() {
        return maxValue;
    }

    public void setMaxValue(BigDecimal maxValue) {
        this.maxValue = maxValue;
    }

    public String getUda6() {
        return uda6;
    }

    public void setUda6(String uda6) {
        this.uda6 = uda6;
    }

    public String getUda7() {
        return uda7;
    }

    public void setUda7(String uda7) {
        this.uda7 = uda7;
    }

    public String getUda8() {
        return uda8;
    }

    public void setUda8(String uda8) {
        this.uda8 = uda8;
    }

    public String getUda9() {
        return uda9;
    }

    public void setUda9(String uda9) {
        this.uda9 = uda9;
    }

    public String getUda10() {
        return uda10;
    }

    public void setUda10(String uda10) {
        this.uda10 = uda10;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BigDecimal getSpecMax() {
        return specMax;
    }

    public void setSpecMax(BigDecimal specMax) {
        this.specMax = specMax;
    }

    public BigDecimal getSpecMin() {
        return specMin;
    }

    public void setSpecMin(BigDecimal specMin) {
        this.specMin = specMin;
    }

    public BigDecimal getSampleBatch() {
        return sampleBatch;
    }

    public void setSampleBatch(BigDecimal sampleBatch) {
        this.sampleBatch = sampleBatch;
    }

    public String getChkValue() {
        return chkValue;
    }

    public void setChkValue(String chkValue) {
        this.chkValue = chkValue;
    }

    public Integer getChkResult() {
        return chkResult;
    }

    public void setChkResult(Integer chkResult) {
        this.chkResult = chkResult;
    }

    public Integer getChkFlag() {
        return chkFlag;
    }

    public void setChkFlag(Integer chkFlag) {
        this.chkFlag = chkFlag;
    }

    public String getPs() {
        return ps;
    }

    public void setPs(String ps) {
        this.ps = ps;
    }

    public Integer getDutyId() {
        return dutyId;
    }

    public void setDutyId(Integer dutyId) {
        this.dutyId = dutyId;
    }

    public Integer getBdDuty() {
        return bdDuty;
    }

    public void setBdDuty(Integer bdDuty) {
        this.bdDuty = bdDuty;
    }

    public String getDutyCode() {
        return dutyCode;
    }

    public void setDutyCode(String dutyCode) {
        this.dutyCode = dutyCode;
    }

    public String getDutyName() {
        return dutyName;
    }

    public void setDutyName(String dutyName) {
        this.dutyName = dutyName;
    }

    public BigDecimal getChkFreq() {
        return chkFreq;
    }

    public void setChkFreq(BigDecimal chkFreq) {
        this.chkFreq = chkFreq;
    }

//    public Set<Uqcm5ChkBillCitemDCrt> getUqcmChkBillCitemDCrts() {
//        return uqcmChkBillCitemDCrts;
//    }
//
//    public void setUqcmChkBillCitemDCrts(Set<Uqcm5ChkBillCitemDCrt> uqcmChkBillCitemDCrts) {
//        this.uqcmChkBillCitemDCrts = uqcmChkBillCitemDCrts;
//    }

    private BigDecimal chkFreq;// 检测次数

//    private Set<Uqcm5ChkBillCitemDCrt> uqcmChkBillCitemDCrts = new HashSet<Uqcm5ChkBillCitemDCrt>(0);

}
